package com.yhj.wchat.service;

import java.util.List;

import com.yhj.wchat.entity.query.UserContactApplyNewQuery;
import com.yhj.wchat.entity.po.UserContactApplyNew;
import com.yhj.wchat.entity.vo.PaginationResultVO;


/**
 *  业务接口
 */
public interface UserContactApplyNewService {

	/**
	 * 根据条件查询列表
	 */
	List<UserContactApplyNew> findListByParam(UserContactApplyNewQuery param);

	/**
	 * 根据条件查询列表
	 */
	Integer findCountByParam(UserContactApplyNewQuery param);

	/**
	 * 分页查询
	 */
	PaginationResultVO<UserContactApplyNew> findListByPage(UserContactApplyNewQuery param);

	/**
	 * 新增
	 */
	Integer add(UserContactApplyNew bean);

	/**
	 * 批量新增
	 */
	Integer addBatch(List<UserContactApplyNew> listBean);

	/**
	 * 批量新增/修改
	 */
	Integer addOrUpdateBatch(List<UserContactApplyNew> listBean);

	/**
	 * 多条件更新
	 */
	Integer updateByParam(UserContactApplyNew bean,UserContactApplyNewQuery param);

	/**
	 * 多条件删除
	 */
	Integer deleteByParam(UserContactApplyNewQuery param);

	/**
	 * 根据ApplyId查询对象
	 */
	UserContactApplyNew getUserContactApplyNewByApplyId(Integer applyId);


	/**
	 * 根据ApplyId修改
	 */
	Integer updateUserContactApplyNewByApplyId(UserContactApplyNew bean,Integer applyId);


	/**
	 * 根据ApplyId删除
	 */
	Integer deleteUserContactApplyNewByApplyId(Integer applyId);

}